Skip to content

crypto: the change data-independent-timing, as built, and genesis's memory contract by throwing - #22

Merged
pinhopro merged 4 commits into
mainfrom
crypto/dit
Nov 21, 2026
Merged

pinhopro merged 4 commits into
mainfrom
crypto/dit

Conversation

@pinhopro

Copy link
Copy Markdown
Contributor

The change data-independent-timing of crypto: the library sets arm64's DIT itself around its cryptographic computation, as the owner decided on 2026-11-20.

  • The proposal, design (D1-D7), spec and tasks, and the plan with its inventory and rulings (reference/plan.md).
  • design.md "As built": the strict seam WEBCPP_CRYPTO_DETAIL_TIMING_ENTERED(where) with std::source_location only where a test defines it, the guard on gcm's moves, the planted leak inside the guard, what the constant-time lane measured, and the open item of the final quiet measurement pass (the guard's cost, UTC dates, the size matrix, the barrier after each DIT write).
  • genesis: the memory contract now says a resource fails by throwing, never by returning null, since allocate is declared never to return null; the null path was undefined behaviour that release builds turned into a crash.

The library's pull request is webcpporg/crypto's crypto/dit.

R added 4 commits November 20, 2026 19:32
…round its cryptographic computation, as the owner decided on 2026-11-20
…e public functions that hold the guard and the controller's rulings
…uard's moves, what the lane measured, and the open item of the final measurement pass
…never by returning null, as allocate is declared never to
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant